import xcRequest from '@/server/index.js'
export function getIndexData() {
	return xcRequest.get({
		url: '/index.php',
		data: {
			_mall_id: '1',
			r: 'api/home/indexs'
		}
	})
}
export function getPraiseData() {
	return xcRequest.get({
		url: '/index.php',
		data: {
			_mall_id: '1',
			r: 'api/home/car'
		}
	})
}
export function getUsedCarData() {
	return xcRequest.get({
		url: '/index.php',
		data: {
			_mall_id: '1',
			r: 'api/home/car-secondhand'
		}
	})
}
